<?php
	/**
	 * Configuration file for krome's core libraries.
	 * 
	 * @author     Brandon R. Stoner <brandon.stoner@gmail.com>
	 * @copyright  Copyright 2008, Monokromatic Inc.
	 * @package    Core
	 * @subpackage Core
	 */

	/**
	 * Usually, this is the path in which krome resides. This particular constant
	 * is only used within this file, and therfore doesn't need to exist unless
	 * another definition in this file is referencing it. No other files should
	 * be using this definition.	 	 	  	 
	 **/	 	
	define( 'KROME_BASEPATH',                   realpath( dirname(__FILE__) ) . '/' );

	/**
	 * The file extension that your server is using for PHP files. This is
	 * almost always set to .php and as so, doesn't need changing. If this is
	 * changed, files will have to be renamed also.	 	  	 	 	 
	 **/
	define( 'KROME_FILEEXT',                    '.php' );

	/**
	 * The directory containing all components that Krome should be using.
	 **/	 	
	define( 'KROME_COMPONENTDIR',               KROME_BASEPATH . 'components/' );

	/**
	 * The directory containing all applications that Krome will be able to
	 * execute.
	 **/	 	
	define( 'KROME_APPLICATIONS_DIR',           KROME_BASEPATH . 'applications/' );

	/**
	 * The name of the class that the system uses to manage components. If this is
	 * changed, most standard libraries will not work correctly.	 
	 **/	 	
	define( 'KROME_COMPONENTMANAGER_CLASSNAME', 'CKromeComponentManager' );

	/**
	 * The classname of Krome's exception object.	 
	 **/
	define( 'KROME_EXCEPTION_CLASSNAME',        'CKromeException' );

	/**
	 * Assigned a boolean value depending on if Krome is running in a CLI or an
	 * HTTP environment.
	 **/	 	
	define( 'KROME_CLI',                        !isset($_SERVER['HTTP_HOST']) );	 	

	$applications = Array(
	                   'Example'  => true
	                     );
?>
